#!/bin/bash
while :
do 
	echo -n "输入1到5之间的数字："
	read aNum
	case $aNum in 
		1|2|3|4|%) echo "你输入的数字是 $aNum"
			;;
		*) echo "你输入的数字不在1-5之间"
			continue
			echo "游戏结束"
			;;
	esac
done
